package com.xy.lang.domain.tuples;

/**
 * 三元组
 *
 * @param <T1>
 * @param <T2>
 * @param <T3>
 */
public class Triple<T1, T2, T3> extends Pair<T1, T2> {

    protected T3 value3;

    public Triple(T1 value1, T2 value2, T3 value3) {
        super(value1, value2);
        this.value3 = value3;
    }

    public T3 getValue3() {
        return value3;
    }

}
